<!--
 * @Descripttion: 
 * @Version: 
 * @Author: gaohj
 * @Date: 2022-12-30 15:58:30
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-12-30 16:03:38
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var xiaobao = ['建宁公主','双儿','沐剑屏','曾柔','方怡','苏荃','阿珂'];
        // alert(xiaobao[3]);
        console.log(xiaobao);
        // xiaobao[4] = '凤姐';

        // console.log(xiaobao);

        // xiaobao[7] = '芙蓉姐姐';
        // console.log(xiaobao);


        // xiaobao[17] = '芙蓉姐姐';
        // console.log(xiaobao); // 下标7到16 用empty 补齐 

        
    </script>
</body>
</html>